<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

  <head>

    <!-- Non social metatags -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="theme-color" content="#157878">

    {% if page.title %}
      {% assign page-title = page.title | escape %}
    {% else %}
      {% assign page-title = site.title | escape %}
    {% endif %}

    <title>{{ page-title }}</title>

    {% if site.gems contains "jekyll-seo-tag" %}
      <!-- jekyll-seo-tag -->
    {% else %}
      {% include social-metatags.html %}
    {% endif %}

    <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">

    {% if site.gems contains "jekyll-feed" %}
      <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
    {% endif %}

    <link rel="shortcut icon" href="{{ site.url }}/favicon.ico">
    <meta name="robots" content="noarchive">

    <!-- <link rel="alternate" media="only screen and (max-width: 640px)" href="">
    <link rel="alternate" media="handheld" href=""> -->


    <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
  </head>
  <body>

    {% include site-header.html %}

    {% if page.layout == 'home' %}
      {% assign page-tagline = site.description | default: site.github.project_tagline | escape %}
    {% endif %}
    {% if page.layout == 'page' %}
      {% assign page-tagline = page.tagline | escape %}
    {% endif %}
    {% if page.layout == 'post' %}
      {% assign page-tagline = page.tagline | escape  %}
    {% endif %}

    <section class="page-header">
      <h1 class="project-name">{{ page-title }}</h1>
      <h2 class="project-tagline">{{ page-tagline }}</h2>
      {% if page.layout == 'home' and site.github.is_project_page %}
          <a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
        {% if site.show_downloads %}
          <a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
          <a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
        {% endif %}
      {% endif %}
      <!-- Post tagline -->
      {% if page.layout == 'post' %}
        <h2 class="project-date">
        <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
          {% assign date_format = site.cayman-blog.date_format | default: "%b %-d, %Y" %}
          {{ page.date | date: date_format }}
        </time>
        {% assign page_author = page.author | default: site.author | default: nil | escape %}
        {% if page_author %}
          • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page_author }}</span></span>
        {% endif %}

        &nbsp;&nbsp;&nbsp;&nbsp;
        <span id="busuanzi_value_site_uv"></span> 👣 
        • 
        <span id="busuanzi_value_page_pv"></span> 👀 
        
        </h2>
      {% endif %}
      <!-- End: Post tagline -->

    </section>

    <section class="main-content">

      {{ content }}

      <footer class="site-footer">
        <!-- SVG icons from https://iconmonstr.com -->

        <!-- Github icon -->
        {% if site.github_username %}
        <span class="my-span-icon">
          <a href="https://github.com/{{ site.github_username }}" title="GitHub">
            <svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg>
          </a>
        </span>
        {% endif %}

        <!-- QQ icon -->
        {% if site.qq_number %}
        <span class="my-span-icon">
          <a href="tencent://message/?uin={{ site.qq_number }}&amp;Site=有事Q我&amp;Menu=yes" title="QQ交谈">
            <svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M 11.96,4 C 11.92,4 9.44,3.95 7.85,5.7 7.12,6.5 6.58,7.67 6.52,9.38 6.52,9.38 5.71,9.69 5.93,11.46 5.93,11.46 4.38,12.74 4.01,14.69 4.01,14.69 3.81,17.98 5.78,15.09 5.78,15.09 6.23,16.19 7.04,17.17 7.04,17.17 5.59,17.62 5.71,18.79 5.71,18.79 5.66,20.08 8.82,20 8.82,20 11.04,19.84 11.71,18.99 L 12.29,18.99 C 12.96,19.84 15.18,20 15.18,20 18.34,20.08 18.29,18.79 18.29,18.79 18.41,17.62 16.96,17.17 16.96,17.17 17.77,16.19 18.22,15.09 18.22,15.09 20.19,17.98 19.99,14.69 19.99,14.69 19.62,12.74 18.07,11.46 18.07,11.46 18.29,9.69 17.48,9.38 17.48,9.38 17.31,3.9 12.11,4 12,4 L 11.96,4 Z M 24,12 C 24,18.63 18.63,24 12,24 5.37,24 -0,18.63 0,12 0,8.1 1.86,4.63 4.75,2.44 6.76,0.91 9.28,-0 12,-0 18.63,0 24,5.37 24,12 Z M 24,12"/></svg>
          </a>
        </span>
        {% endif %}

        <!-- RSS icon -->
        {% if site.gems contains "jekyll-feed" %}
          <span class="my-span-icon">
            <a href="{{ "/feed.xml" | relative_url }}" aria-label="RSS feed" title="{{ site.github.owner_name }}'s RSS feed">
              <svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-3.374 17c-.897 0-1.626-.727-1.626-1.624s.729-1.624 1.626-1.624 1.626.727 1.626 1.624-.729 1.624-1.626 1.624zm3.885 0c-.03-3.022-2.485-5.474-5.511-5.504v-2.406c4.361.03 7.889 3.555 7.92 7.91h-2.409zm4.081 0c-.016-5.297-4.303-9.571-9.592-9.594v-2.406c6.623.023 11.985 5.384 12 12h-2.408z"/></svg>
            </a>
          </span>
        {% endif %}
        

      <!-- email icon --> 
      {% if site.email %}
      <span class="my-span-icon">
        <a href="mailto:{{ site.email }}" title="email">
          <svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 .02c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.99 6.98l-6.99 5.666-6.991-5.666h13.981zm.01 10h-14v-8.505l7 5.673 7-5.672v8.504z"/></svg>
        </a>
      </span>
      {% endif %}

        <!-- Contact / about me icon --> 
        <!-- {% assign about_page = site.pages | where: "path", "about.md" | first %}
        {% if about_page.title %}
          <span class="my-span-icon">
            <a href="{{ about_page.url | relative_url }}" aria-label="Contact" title="Contact {{ site.github.owner_name }}">
              <svg class="my-svg-icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 .02c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.99 6.98l-6.99 5.666-6.991-5.666h13.981zm.01 10h-14v-8.505l7 5.673 7-5.672v8.504z"/></svg>
            </a>
          </span>
        {% endif %} -->    
        
        
        <!-- <p>
          本页总浏览量 <span id="busuanzi_value_page_pv"></span> 次
          <br/>
          本站总访问量<span id="busuanzi_value_site_pv"></span>次，
          <br/>
          访客数<span id="busuanzi_value_site_uv"></span>人次
        </p> -->
      </footer>
    </section>

    {% if site.google_analytics %}
      <script type="text/javascript">
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
        m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

        ga('create', '{{ site.google_analytics }}', 'auto');
        ga('send', 'pageview');
      </script>
    {% endif %}
  </body>
</html>

<script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>